package com.smart.thrift.discoveryandbalance.discovery;

import java.util.LinkedHashSet;
import java.util.Map;

/**
 * 服务节点群信息
 * @param <T>
 */
public interface ServerNodeList<T extends ThriftServerNode> {

    Map<String, LinkedHashSet<T>> getInitialListOfThriftServers();

    Map<String, LinkedHashSet<T>> getUpdatedListOfThriftServers();
}
